package com.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFilter;
import com.meta.Version;

@JsonFilter("xxx")
public class Trade {

	private Long id;
	private Date tradeDate;
	private String traderName;
	private int amount;

	@Version(minVersion = 2)
	private List<String> riskParameters;

	public Trade() {
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getTradeDate() {
		return tradeDate;
	}

	public void setTradeDate(Date tradeDate) {
		this.tradeDate = tradeDate;
	}

	public String getTraderName() {
		return traderName;
	}

	public void setTraderName(String traderName) {
		this.traderName = traderName;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public List<String> getRiskParameters() {
		return riskParameters;
	}

	public void setRiskParameters(List<String> riskParameters) {
		this.riskParameters = riskParameters;
	}

}
